dcea80e6adf2cd3766283fe4e6aeed12a5b77236,plugins/mps-build/languages/build/source_gen/jetbrains/mps/build/editor/BuildSource_JavaSources_Editor.java,BuildSource_JavaSources_Editor,createCustom_uremau_a,#EditorContext#SNode#,20
Before Change
return this.createCustom_uremau_a(editorContext, node);
}
private EditorCell createCustom_uremau_a(final EditorContext editorContext, final SNode node) {
AbstractCellProvider provider = new _FunctionTypes._return_P0_E0<AbstractCellProvider>() {
public AbstractCellProvider invoke() {
return new AbstractCellProvider() {
@Override
public EditorCell createEditorCell(EditorContext context) {
EditorCell_Error result = new EditorCell_Error(context, node, "<no sources>");
result.getStyle().set(StyleAttributes.PADDING_LEFT, new Padding(0.0));
result.getStyle().set(StyleAttributes.PADDING_RIGHT, new Padding(0.0));
return result;
}
};
}
}.invoke();
EditorCell editorCell = provider.createEditorCell(editorContext);
editorCell.setCellId("Custom_uremau_a");
EditorCell bigCell = BigCellUtil.findBigCell(editorCell, node);
if (bigCell != null) {
bigCell.setBig(true);
}
return editorCell;
}
After Change
public EditorCell createEditorCell(EditorContext editorContext, SNode node) {
return this.createError_uremau_a(editorContext, node);
}
private EditorCell createError_uremau_a(EditorContext editorContext, SNode node) {
EditorCell_Error editorCell = new EditorCell_Error(editorContext, node, "<no sources>");
editorCell.setCellId("Error_uremau_a");
editorCell.setBig(true);
Style style = new StyleImpl();
style.set(StyleAttributes.PADDING_LEFT, new Padding(0, Measure.SPACES));
style.set(StyleAttributes.PADDING_RIGHT, new Padding(0, Measure.SPACES));
editorCell.getStyle().putAll(style);
return editorCell;
}
}